﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections;

namespace E.Y.E.Jobs
{
    interface ICommand
    {
        bool Execute(ref TaskManager taskDatabase,ref CommandTypeManager CommandTypeDatabase,ref History actionsHistory);

        bool Undo(ref TaskManager taskDatabase,ref CommandTypeManager CommandTypeDatabase,ref History actionsHistory);

        string getCommandEventTitle();

        void setMessage(string desiredMessage);

        string getMessage();

        void SetError(bool desiredBool);

        bool GetErrorState();

        InformationPackage ConvertToInfoPackage();
    }
}
